<template>
  <div class="findExperts">
    <div class="content">
      <div class="title_t">
        <img src="" alt="" />
        <div class="text">找专家</div>
      </div>
      <div class="content_c">
        <div class="screen_box">
          <div v-for="(v, i) in screenList" :key="i" class="screen_item">
            {{ v.name }}
          </div>
        </div>

        <div class="list_item">
          <!-- 头像 -->
          <img src="" alt="" />
          <div class="list_r">
            <!-- 人物信息 -->
            <div class="user">
              <div class="user_item">
                <div class="text">胡晓梅</div>
                <div class="score">
                  <img src="" alt="" />
                  <div>4.8</div>
                </div>
              </div>

              <div class="user_item">
                <div class="text">在线问诊</div>
                <div class="money">￥ 7.00</div>
              </div>

              <div class="user_item">
                <div class="text">线下预约</div>
                <div class="money">￥ 12.00</div>
              </div>
            </div>
            <!-- 地址信息 -->
            <div class="address">
              <img src="" alt="" />
              <div class="text">广西南宁市兴宁校区咨询中心南A区</div>
              <div class="details">详情</div>
            </div>
            <!-- 介绍 -->
            <div class="introduce">
              长运用“中西医结合”“国内外先进的运动医学康复“的理念和手段，治疗各类运动损伤，及骨科手术的术后康复及颈肩腰腿痛。
            </div>
          </div>
        </div>
        <!-- 分页 -->
        <div style="display: flex; flex-direction: row-reverse">
          <Page :total="100" show-sizer />
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      screenList: [
        { name: "销量", id: 1 },
        { name: "热度", id: 2 },
        { name: "好评", id: 3 },
        { name: "综合排序", id: 4 },
      ],
    };
  },
};
</script>
<style lang="scss" scoped>
.findExperts {
  width: 100vw;
  height: calc(100vh - 80 / 1920 * 100vw);
  display: inline-block;
  background: #f1f1f1;
  font-size: 400;
  font-size: 14px;

  .content {
    width: 70%;
    margin: 40px auto;

    .title_t {
      display: flex;
      align-items: center;

      img {
        width: 11px;
        height: 14px;
      }

      .text {
        color: #333333;
      }
    }

    .content_c {
      width: 100%;
      box-sizing: border-box;
      padding: 40px;
      background: #fff;
      border-radius: 20px;

      .screen_box {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;

        .screen_item {
          padding: 0px 20px;
          margin-right: 10px;
          position: relative;

          &::after {
            content: "";
            width: 0px;
            height: 0px;
            border-top: 5px solid #c8cacc;
            border-left: 5px solid transparent;
            border-bottom: 5px solid transparent;
            border-right: 5px solid transparent;
            position: absolute;
            right: 0;
            bottom: 0;
          }

          &::before {
            content: "";
            width: 0px;
            height: 0px;
            border-top: 5px solid transparent;
            border-left: 5px solid transparent;
            border-bottom: 5px solid #c8cacc;
            border-right: 5px solid transparent;
            position: absolute;
            right: 0;
            top: 0;
          }
        }
      }

      .list_item {
        width: 100%;
        height: 124px;
        box-sizing: border-box;
        padding: 30px;
        background: #f8f8f8;
        border-radius: 5px;
        margin: 20px 0px;
        display: flex;
        align-items: center;

        img {
          width: 86px;
          height: 86px;
          border-radius: 5px;
        }

        .list_r {
          margin-left: 60px;
          .user {
            display: flex;
            align-items: center;

            .user_item {
              display: flex;
              align-items: center;
              margin-right: 10px;
              .text {
                font-size: 18px;
                color: #333333;
              }
              .score {
                display: flex;
                align-items: center;
                color: #fcae17;
                margin-left: 5px;
                font-size: 14px;
                img {
                  width: 12px;
                  height: 13px;
                }
              }
              .money {
                margin-left: 5px;
                color: #fd5151;
                margin: 10px 0px;
              }
            }
          }

          .address {
            display: flex;
            align-items: center;
            font-size: 14px;
            img {
              width: 13px;
              height: 16px;
            }
            .text {
              color: #333333;
              margin: 0px 5px;
            }
            .details {
              color: #808080;
            }
          }

          .introduce {
            font-size: 14px;
            color: #9a9a9a;
            margin-top: 10px;
          }
        }
      }
    }
  }
}
</style>
